from UI.Page.Page import Page
from UI.Base.Base import Base
from selenium import webdriver
import time,pytest

class Test_Case():
    @pytest.fixture(scope='session')
    def driver(self):
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
        yield self.driver
        self.driver.close()
        self.driver.quit()

    def test_01_login(self,driver):
        po=Page(driver)
        po.luoji_01_search()

